<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JSONP同源限制</title>
</head>
<body>
    <script>
        function f(data) {
            console.log(data)
        }
    </script>

    <!--将请求地址写在script的src属性中-->
    <script src="http://localhost:3000/01"></script>
</body>
</html>